package com.zyx;

import java.net.Socket;

public class Request extends AbstractHttpServletRequest{
    private final String method;
    private final String url;
    private final String protocol;
    private final Socket socket;

    public Request(String method, String url, String protocol,Socket socket) {
        this.method = method;
        this.url = url;
        this.protocol = protocol;
        this.socket = socket;
    }

    public String getMethod() {
        return method;
    }


    public String getUrl() {
        return url;
    }

    public String getProtocol() {
        return protocol;
    }

    public Socket getSocket() {
        return socket;
    }
}
